# Uncomment the next line to define a global platform for your project
# platform :ios, '10.0'

inhibit_all_warnings! #xcode不展示pod警告
use_frameworks!

target 'LongTermInsurance' do

#basic
  pod 'Alamofire'
  pod 'Kingfisher'
  pod 'Moya'
  pod 'SnapKit'
  pod 'Toaster'
  pod 'SVProgressHUD'
  pod 'MJRefresh'
  pod 'ObjectMapper'
  pod 'DACircularProgress' #IDM using
  pod 'pop' #IDM using
  pod 'SDVersion' #机型
  pod 'R.swift'
  pod 'TZImagePickerController'
  pod 'SDWebImage'
  pod 'SwiftyXMLParser'
  pod 'SDCycleScrollView'
#RX
  pod 'RxSwift'
  pod 'RxCocoa'

# 七牛
  pod 'Qiniu'
  #pod 'AFNetworking'

#Log
  pod 'XCGLogger'
  #pod 'RainbowSwift'

#地图定位
  pod 'AMap2DMap' #2D地图
  pod 'AMapLocation' #定位SDK
  pod 'AMapSearch' #搜索服务SDK

  pod 'JPush' #推送


  pod 'IQKeyboardManagerSwift', '5.0.0'
  #pod 'Bugtags'
  pod 'iCarousel', '~> 1.8.2'

  pod 'TZImagePickerController'


end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '4'
      if target.name == 'RxSwift'
        target.build_configurations.each do |config|
          if config.name == 'Debug'
            config.build_settings['OTHER_SWIFT_FLAGS'] ||= ['-D', 'TRACE_RESOURCES']
          end
        end
      end
    end 
  end
end

